﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Lion.WeiXin.Core.Models
{
    /// <summary>
    /// 用户信息表：
    /// </summary>
   public class UserInfoModel:BaseModel
    {
        private string _username;
        private string _password;
        private string _phone;
        private string _image;
        private string _realname;
        private string _nickname;
        private string _wechat_username;
        private string _gender;
      
        /// <summary>
        /// 网站使用的用户名
        /// </summary>
        public string UserName
        {
            set { _username = value; }
            get { return _username; }
        }
        /// <summary>
        /// 网站使用的密码
        /// </summary>
        public string Password
        {
            set { _password = value; }
            get { return _password; }
        }
        /// <summary>
        /// 联系电话
        /// </summary>
        public string Phone
        {
            set { _phone = value; }
            get { return _phone; }
        }
        /// <summary>
        /// 用户分组 字典Key = 104
        /// </summary>
        public int Dic_UserGroup { get; set; }

       /// <summary>
       /// 用户分组名称
       /// </summary>
        public string Dic_UserGroupName { get; set; }

        /// <summary>
        /// 头像
        /// </summary>
        public string Image
        {
            set { _image = value; }
            get { return _image; }
        }
        /// <summary>
        /// 真实姓名
        /// </summary>
        public string RealName
        {
            set { _realname = value; }
            get { return _realname; }
        }
        /// <summary>
        /// 昵称
        /// </summary>
        public string NickName
        {
            set { _nickname = value; }
            get { return _nickname; }
        }
        /// <summary>
        /// 微信订阅号的OpenId （ 对当前订阅号唯一）
        /// </summary>
        public string WeChat_UserName
        {
            set { _wechat_username = value; }
            get { return _wechat_username; }
        }
        /// <summary>
        /// 用户的性别，值为1时是男性，值为2时是女性，值为0时是未知
        /// </summary>
        public string Gender
        {
            set { _gender = value; }
            get { return _gender; }
        }
       /// <summary>
       /// 是否订阅公众号
       /// </summary>
        public int IsSubscribe
        {
            get;
            set;
        }

        /// <summary>
        /// 订阅时间
        /// </summary>
        public DateTime Subscribe_Date
        {
            get;
            set;
        }

        /// <summary>
        /// 所在城市
        /// </summary>
        public string City
        {
            get;
            set;
        }

        /// <summary>
        /// 所在省
        /// </summary>
        public string Province
        {
            get;
            set;
        }

        /// <summary>
        /// 所在国家
        /// </summary>
        public string Country
        {
            get;
            set;
        }

        
    }
}
